package com.sc.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
public class AnnounceDTO {
    @ApiModelProperty(value = "主键更新时必须传，新增时不用传", example = "1")
    private Integer id;

    @ApiModelProperty(value = "标题", example = "停电通知")
    private String title;

    @ApiModelProperty(value = "作者", example = "物业中心")
    private String author;

    @ApiModelProperty(value = "紧急程度，1：非常紧急，2：紧急，3：一般", example = "1")
    private int emExtend;

    @ApiModelProperty(value = "详细描述", example = "线路检查")
    private String detail;
}
